NDepend.API Documentation
OrderByHierarchy(IEnumerable<ICodeElement>) Method
NDepend.CodeModel Namespace > ExtensionMethodsProjection Class > OrderByHierarchy Method : OrderByHierarchy(IEnumerable<ICodeElement>) Method
This sequence of ICodeElement objects.
Returns a sequence that contain these codeElements ordered by hierarchy. For example an assembly of codeElements is followed by its first child namespace in sequence, that is followed by its first child type in the sequence...
Syntax

Parameters

codeElements
This sequence of ICodeElement objects.
Remarks
An IAssembly object, is followed by its child INamespace objects.
A INamespace object, is followed by its child IType objects.
A IType object, is followed by its child IMethod and IField objects.
A IType object, is also followed by its nested ITypeobjects.
Requirements

Target Platforms: Windows 11, 10, 8, 7 and Linux, MacOS with net8.0, net7.0 or net6.0 installed

See Also

Reference

ExtensionMethodsProjection Class
ExtensionMethodsProjection Members
Overload List